home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000979_carson@lehman.com_Thu Sep 22 08:12:40 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from Lehman.COM by cs.umb.edu with SMTP id AA25063
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 22 Sep 1994 12:13:04 -0400
  3. Received: from relay.lehman.com by lehman.com (8.6.4/LB 0.1)
  4.     id MAA18565; Thu, 22 Sep 1994 12:12:44 -0400
  5. Received: from dragon.lehman.com by relay.lehman.com (4.1/LB-0.6)
  6.     id AA15806; Thu, 22 Sep 94 12:12:41 EDT
  7. Received: by dragon.lehman.com (5.0/SMI-SVR4)
  8.     id AA27387; Thu, 22 Sep 1994 12:12:40 -0400
  9. Date: Thu, 22 Sep 1994 12:12:40 -0400
  10. From: carson@lehman.com (Carson Gaspar)
  11. Message-Id: <9409221612.AA27387@dragon.lehman.com>
  12. To: tex-k@cs.umb.edu
  13. Cc: carson@lehman.com
  14. Subject: xdvik bug
  15. Reply-To: carson@lehman.com
  16. Content-Length: 1232
  17.  
  18.  
  19. xdvik-18b, kpathsea version 2.0
  20.  
  21. xdvi fails to invoke MakeTeXPK.
  22.  
  23. In font-open.c:35, the following call is made:
  24.  
  25.       name = kpse_find_glyph (font, (unsigned) (dpi + .5),
  26.                               kpse_any_glyph_format, &file_ret);
  27.  
  28. Which leads to tex-glyph.c:266 (NOTE: format=kpse_any_glyph_format):
  29.  
  30.           ret = kpse_make_tex (format, font_name);
  31.  
  32. Which leads to tex-make.c:183:
  33.  
  34.   spec = kpse_format_info[format];
  35.   
  36.   if (spec.program)
  37.     {
  38.       /* See the documentation for the envvars we're dealing with here.  */
  39.  
  40. The problem is, kpse_format_info[kpse_any_glyph_format].program is null.
  41.  
  42. proginit.c:42 sets kpse_format_info[kpse_pk_format].program properly, but
  43. doesn't touch kpse_format_info[kpse_any_glyph_format].program:
  44.  
  45.   /* Might have a program-specific name for MakeTeXPK itself.  */
  46.   kpse_format_info[kpse_pk_format].program
  47.     = kpse_format_info[kpse_any_glyph_format].program
  48.     = getenv (makepk_var);
  49.  
  50. So, what's the right fix?  Change how font-open.c calls kpse_find_glyph?
  51. Change how proginit.c initializes kpse_format_info?  Force tex-make.c to
  52. always use kpse_pk_format?
  53.  
  54. --
  55. Carson Gaspar -- carson@cs.columbia.edu carson@lehman.com
  56. <This is the boring business .sig - no outre sayings here>